package tom.jiafei;

public class Circle{
	double radius;

	public Circle(){
		radius = 1;
	}

	public void setRadius(double newRadius){
		radius = newRadius;
	}
	public double getRadius(){
		return radius;
	}


	public double circleArea(){
		return Math.PI * radius * radius;
	}
	public double circleLength(){
		return 2.0 * radius * Math.PI;
	}
}